package com.example.luckybag

import android.app.Application
import android.content.SharedPreferences

/**
 * 文件名： <br/>
 * 描述：🌝🌝🌝
 *
 * @author wulinran
 * @since 2023/2/13 17:49
 */
class LuckyBagApp : Application() {
    private val luckyPackageName = "luckyPackage"
    val luckyPackageSwitch: SharedPreferences by lazy {
        getSharedPreferences(luckyPackageName, MODE_PRIVATE)
    }


    companion object {
        var sIntance : LuckyBagApp? = null
    }


    override fun onCreate() {
        super.onCreate()
        sIntance = this
    }
}